package com.yuanxin.mobileoffice;

import android.app.Activity;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;

import com.sinooceangroup.voiceassistant.VoiceAssistantActivity;

public class TestActivity extends Activity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_test);
        findViewById(R.id.test).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                VoiceAssistantActivity.startActivity(TestActivity.this, new VoiceAssistantActivity.Callback() {
                    @Override
                    public void onResp(String result) {

                    }
                });
            }
        });
        VoiceAssistantActivity.startActivity(TestActivity.this, new VoiceAssistantActivity.Callback() {
            @Override
            public void onResp(String result) {

            }
        });
    }

}
